package com.hmall.cart;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;

@MapperScan("com.hmall.cart.mapper")
@SpringBootApplication
@EnableFeignClients("com.hmall.api.client")
@Slf4j
public class CartApp {
    public static void main(String[] args) {
        SpringApplication.run(CartApp.class);
        log.info("购物车服务已启动");
    }
}
